﻿using netDxf.Blocks;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Merge
{
    public class Cell
    {
        public Cell(string dxfFile)
        {
            DxfFullName = dxfFile;
            DxfFileName = Path.GetFileNameWithoutExtension(dxfFile);
        }

        public Cell(string d1, string d2, string dxfFile)
            : this(dxfFile)
        {
            this.Dir1 = d1;
            this.Dir2 = d2;
            this.FullDir = Path.GetDirectoryName(dxfFile);
        }
        public string DxfFullName { get; private set; }
        public string DxfFileName { get; private set; }
        public string TidyFileName { get; set; }
        public bool CanRead { get; set; }
        public string Dir1 { get; private set; }
        public string Dir2 { get; private set; }
        public string FullDir { get; private set; }
        //public int FilterOrder { get; set; }
        public string FilterName { get; set; }
        public double Left { get; set; }
        public double Buttom { get; set; }
        public double right { get; set; }
        public double top { get; set; }
        public double width { get; set; }
        public double height { get; set; }
        public Block ImportedBlock { get; set; }

    }
}
